C++
5 directions of C enhancement
w
C++ offers enhancements of C in five
directions:
Operator and function overloading
Information hiding
Inheritance
Polymorphism (virtual functions)
Library building (templates, exceptions)
A properly-written ANSI C program will be accepted by a C++ compiler. However, many traditional C programs will NOT be accepted. Given the growing popularity of C++, this is another good reason for learning ANSI C rather than traditional C.